﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace StackAttack_WindowsFormApp.Helpers
{
    class PathFinder
    {
        public static string GetFullPathToFile(string fileName)
        {
            string fullName = Assembly.GetExecutingAssembly().Location;
            string dir = Path.GetDirectoryName(fullName);
            string fullFileName = Path.Combine(dir, fileName);

            return fullFileName;
        }
    }
}
